package com.qijian.business.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * 仓库盘点对象 查询条件类
 *
 * @author qijian
 * @date 2024-10-12
 */

@Data
@ToString
@TableName("fm_store_check")
public class StoreCheckQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "number", type = WhereTypeEnum.LIKE)
    private String number;
    @WhereType(filed = "plan_date", type = WhereTypeEnum.BETWEEN)
    private String[] planDate;
    @WhereType(filed = "create_id")
    private Long createId;
    @WhereType(filed = "check_id")
    private Long checkId;
    @WhereType(filed = "check_user")
    private String checkUser;
    @WhereType(filed = "check_date", type = WhereTypeEnum.BETWEEN)
    private String[] checkDate;
    @WhereType(filed = "check_finish_date", type = WhereTypeEnum.BETWEEN)
    private String[] checkFinishDate;

    @WhereType(filed = "create_time", type = WhereTypeEnum.BETWEEN, tableName = "fm_store_check")
    private String[] createTime;
    @WhereType(filed = "dict_label", tableName = "sys_dict_data", type = WhereTypeEnum.LIKE)
    private String status;
    @WhereType(filed = "remark")
    private String remark;

    @WhereType(ignore = true)
    private Boolean fillResultFlag;

    @WhereType(filed = "create_by", type = WhereTypeEnum.LIKE)
    private String createBy;


}
